home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Devil's Cubes 1.0.1 / source / Devil’s Cubes ƒ / MSG Shell ƒ / msg graphics.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-30  |  1.6 KB  |  53 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        msg graphics.h
  4.  
  5. Purpose:    This is the header file for msg graphics.c
  6.  
  7.  
  8. Devil’s Cubes -- a simple cubes puzzle
  9. Copyright (C) 1993 Mark Pilgrim
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. #define        NUM_HELP                4
  29.  
  30. extern    Boolean            gInitedWindowBounds;
  31. extern    Rect            gMainScreenBounds;
  32. extern    Rect            gMainWindowBounds;
  33. extern    GDHandle        gBiggestDevice;
  34. extern    WindowPtr        gMainWindow;
  35. extern    WindowPtr        gHelp[NUM_HELP];
  36. extern    int                gHelpWidth;
  37. extern    int                gHelpHeight;
  38. extern    int                gWindowWidth;
  39. extern    int                gWindowHeight;
  40.  
  41. void ShowInformation(void);
  42. void ShowSplashScreen(void);
  43. void OpenMainWindow(void);
  44. void GetMainScreenBounds(void);
  45. int GetWindowDepth(void);
  46. void UpdateBoard(void);
  47. void UpdateBoardColor(void);
  48. void UpdateBoardBW(void);
  49. void CloseMainWindow(void);
  50. void OpenHelpWindow(int whichHelp);
  51. void SetHelpTitle(int whichHelp);
  52. void UpdateHelp(int whichHelp);
  53.